package com.mail.dubbo.mapper;

import com.mail.model.db.SmsFlashPromotion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 * 限时购表 Mapper 接口
 * </p>
 *
 * @author WJZ
 * @since 2022-06-20
 */
public interface SmsFlashPromotionMapper extends BaseMapper<SmsFlashPromotion> {
@Update("update sms_flash_promotion set status=#{status} WHERE id=#{id}")
    void updateStatus(@Param("id") Long id, @Param("status") Integer status);
}
